.home {
  box-sizing: border-box;
  width: 100%;
  min-height: 100vh;
  background-image: url(https://static.joymew.com/joymew-assist/home/bg@2x.png);
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-color: #f9f7f7;
  padding-bottom: 180rpx;

  view {
    box-sizing: border-box;
  }

  .showUserInfo {
    padding: 16rpx;
    display: flex;
    justify-content: space-between;
    align-items: center;

    .name-wrap {
      .user-info-wrap {
        display: flex;
        justify-content: flex-start;
        align-items: center;

        .name {
          margin-right: 15.38rpx;
          font-size: 44rpx;
          color: rgba(51, 51, 51, 1);
        }

        .edit-user-info {
          display: flex;
          justify-content: flex-start;
          align-items: center;
          color: rgba(0, 0, 0, 0.4);
          font-size: 26.92rpx;

          .edit-icon {
            width: 32.69rpx;
            height: 32.69rpx;
            margin-right: 7.69rpx;
          }
        }
      }

      .degree-wrap {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        font-size: 20rpx;
        margin-top: 20rpx;

        .level {
          width: 125rpx;
          height: 51rpx;
          background-image: url("https://ustatic.joymew.com/joymew-assist/home/level.png");
          background-size: 100% 100%;
          position: relative;

          .count {
            width: 72rpx;
            height: 51rpx;
            position: absolute;
            text-align: center;
            right: 10rpx;
            color: #f8f8f8;
            line-height: 50rpx;
            font-size: 27.03rpx;

            font-weight: bold;
          }
        }

        .degree-img {
          width: 188rpx;
          height: 74rpx;
          display: flex;
          justify-content: flex-start;
          align-items: center;

          .badge-1 {
            width: 168rpx;
            height: 54rpx;
          }

          // height: 74rpx;
          // background-size: 100% 100%;
          // &.badge-1{
          //   background-image: url(https://static.joymew.com/joymew-assist/home/badge/degree-1.png);
          // }
          // background-color: red;
        }

        .degree-progress-wrap {
          display: flex;
          justify-content: center;
          align-items: flex-start;
          flex-direction: column;

          .degree-progress-text {
            margin-left: 10rpx;
            color: rgba(0, 0, 0, 0.4);
          }

          .progress-bar {
            margin-top: 8rpx;
            margin-left: 10rpx;
            width: 348rpx;
            height: 6rpx;
            background-color: #fff;
            position: relative;

            .progress-bar-active {
              width: 0;
              height: 6rpx;
              background-color: rgba(255, 62, 62, 1);
            }
          }

        }
      }
    }

    .avatar {
      width: 156rpx;
      height: 156rpx;
      border-radius: 4rpx;
      background-size: 100% 100%;
      border: 1.92rpx solid #DCDCDC;
    }
  }

  .banner {
    margin: 0 auto;
    margin-top: 22rpx;
    width: 718rpx;
    height: 124rpx;
    background-size: 100% 100%;
    background-image: url(https://static.joymew.com/joymew-assist/home/vip-banner.png);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 36rpx 12rpx;

    .banner-start-region {

      .name {
        // font-size: 48rpx;
        font-size: 36rpx;
        // font-style: italic;
        color: #faa838;
      }

      .upgrade {
        color: rgba(155, 100, 46, 1);
        font-size: 24rpx;
      }
    }

    .btn {
      margin-right: 20rpx;
      width: 128rpx;
      height: 50rpx;
      background: linear-gradient(90deg, #ffa06b, #ffc634 100%);
      border-radius: 52rpx;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 24rpx;
      color: #fff;
    }

  }
}